<template name="bolgList">
		<view class="public">
			<noteBox :noteView="collectView"  @click="delData(item,index)"></noteBox>
		</view>
</template>

<script>
import noteBox from '@/components/note/index.vue'
export default {
	components: {
		noteBox
	},
	data() {
		return {
			collectView:[],
		}
	},
	onLoad() {
		this.collect();
	},
	methods: {
		collect() {
			this.$request('mock/93c1b8865170438476e406a41e3fdf37/studynotes/collect','GET').then(res => {
				console.log('返回collectData数据', res)// 打印调用成功回调
				this.collectView = res.collectData;
			}).catch(err => {
				console.log('请求失败')
			})
		},
	}
}
</script>

<style lang="scss">
	page{}
</style>
